<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta charset="UTF-8">
<title>四川盛世鹏辉建设项目管理有限公司</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="css/top.css">
<link rel="stylesheet"
	href="framework/bootstrap-3.0.0/css/bootstrap.css">
<link rel="stylesheet"
	href="framework/bootstrap-3.0.0/css/bootstrap-theme.css">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<style>
#div1 {
	background: url("image/su2.png");
	width: 135px;
	height: 55px;
}

#div1.hover {
	background: url("image/su.png");
	width: 140px;
	height: 55px;
}

#div2 {
	background: url("image/sul.png");
	width: 135px;
	height: 55px;
}

#div2.hover {
	background: url("image/sul2.png");
	width: 140px;
	height: 55px;
}

a {
	text-decoration: none;
	color: black;
}

div {
	font-family: 微软雅黑;
	font-size: 14px;
}
</style>
<script>
	window.onload = function() {
		var oDiv1 = document.getElementById("div1");
		var oDiv2 = document.getElementById("div2");
		oDiv1.onmouseover = function() {
			oDiv1.className = "hover"
		};
		oDiv1.onmouseout = function() {
			oDiv1.className = ""
		}
		oDiv2.onmouseover = function() {
			oDiv2.className = "hover"
		};
		oDiv2.onmouseout = function() {
			oDiv2.className = ""
		}
	};
</script>
</head>
<body>
	<img src="image/log.png"
		style="height: 70px; width: 50px; z-index: 1; position: absolute; left: 10%;top:10px;" />
	<div style="top: 0px;"><jsp:include page="top.jsp"></jsp:include></div>
	<div>
		<img src="image/34.png" width="100%" />
	</div>
	<span style="margin-left: 7%;"><a href="showfactive.do"> 首页</a>
		><a href="showc.do">成功案例 </a> </span>
	<br>
	<br>
	<div class="col-md-12" style="height: auto; margin-bottom: 10px;">
		<div class="col-md-3">
			<div style="width: 10%; margin-left: 55%;" id="test">
				<a href="showc.do"><div id="div1"></div> </a>
			</div>
			<div style="width: 10%; margin-left: 55%;" id="test2">
				<div id="div2"></div>
			</div>
		</div>
		<div class="col-md-9">
			<div id="testDiv"
				style="border: 1px solid grey; display: none; margin-right: 20%;">
				<div style="margin-left: 10%; margin-right: 10%; margin-top: 5%;">

				</div>
			</div>
			<div id="testDiv2"
				style="border: 1px solid grey; display: block; margin-right: 20%;margin-bottom: 10%;">
				<div style="margin-left: 10%; margin-right: 10%; margin-top: 5%;">
					<div style="color:blue;font-size: 16px;">案例详情</div>
					<hr>
					<c:if test="${requestScope.deltails} == 'null' ">没有数据</c:if>
					
						<div style="color:blue;font-size: 14px;text-align: center;">
							${deltails.title}</div>
						<div style="font-size: 12px;text-align: center;">
							${deltails.time}</div>
						<div style="font-size: 12px;text-align: center;">
							<img alt="" src="${deltails.img}" width="180px"
								height="100px">
						</div>
						<div style="font-size: 12px; ">
							<p style="word-wrap:break-word; word-break:break-all;">
								${deltails.content}</p>
						</div>
					
					<br /> <br />
				</div>
			</div>
		</div>
	</div>
	<div style="bottom: 0px;"><jsp:include page="bottom.jsp"></jsp:include></div>
</body>
<script type="text/javascript">
	document.getElementById("test2").onclick = function() {
		document.getElementById("testDiv2").style.display = "block";
		document.getElementById("testDiv").style.display = "none";
	}
	document.getElementById("test").onclick = function() {
		document.getElementById("testDiv").style.display = "block";
		document.getElementById("testDiv2").style.display = "none";
	}
</script>
</html>